package cn.ll.po;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * Contract entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "contract", catalog = "lldb")
public class Contract implements java.io.Serializable {

	// Fields

	private String id;
	private String customerid;
	private String customername;
	private String userid;
	private String userName;
	private Date createtime;
	private Date verifytime;
	private Integer status;
	private String verifyuser;
	private String proname;
	private String region;
	private String country;
	private String city;
	private String size;
	private String currency;
	private Date dataRdyTime;
	private Date finishTime;
	private String type;
	private String rootid;
	private Float cost;
	private Float costRmb;
	private String requirements;
	private Date signdate;
	private String connecterid;
	private String connectername;

	// Constructors

	/** default constructor */
	public Contract() {
	}

	/** minimal constructor */
	public Contract(String id, Date createtime) {
		this.id = id;
		this.createtime = createtime;
	}

	/** full constructor */
	public Contract(String id, String customerid, String customername, String userid, String userName,
			Date createtime, Date verifytime, Integer status, String verifyuser, String proname, String region,
			String country, String city, String size, String currency, Date dataRdyTime, Date finishTime,
			String type, String rootid, Float cost, Float costRmb, String requirements, Date signdate,
			String connecterid, String connectername) {
		this.id = id;
		this.customerid = customerid;
		this.customername = customername;
		this.userid = userid;
		this.userName = userName;
		this.createtime = createtime;
		this.verifytime = verifytime;
		this.status = status;
		this.verifyuser = verifyuser;
		this.proname = proname;
		this.region = region;
		this.country = country;
		this.city = city;
		this.size = size;
		this.currency = currency;
		this.dataRdyTime = dataRdyTime;
		this.finishTime = finishTime;
		this.type = type;
		this.rootid = rootid;
		this.cost = cost;
		this.costRmb = costRmb;
		this.requirements = requirements;
		this.signdate = signdate;
		this.connecterid = connecterid;
		this.connectername = connectername;
	}

	// Property accessors
	@Id
	@Column(name = "id", unique = true, nullable = false, length = 36)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "customerid", length = 36)
	public String getCustomerid() {
		return this.customerid;
	}

	public void setCustomerid(String customerid) {
		this.customerid = customerid;
	}

	@Column(name = "customername", length = 50)
	public String getCustomername() {
		return this.customername;
	}

	public void setCustomername(String customername) {
		this.customername = customername;
	}

	@Column(name = "userid", length = 36)
	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	@Column(name = "user_name", length = 50)
	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "createtime", nullable = false, length = 0)
	public Date getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "verifytime", length = 0)
	public Date getVerifytime() {
		return this.verifytime;
	}

	public void setVerifytime(Date verifytime) {
		this.verifytime = verifytime;
	}

	@Column(name = "status")
	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Column(name = "verifyuser", length = 36)
	public String getVerifyuser() {
		return this.verifyuser;
	}

	public void setVerifyuser(String verifyuser) {
		this.verifyuser = verifyuser;
	}

	@Column(name = "proname", length = 150)
	public String getProname() {
		return this.proname;
	}

	public void setProname(String proname) {
		this.proname = proname;
	}

	@Column(name = "region", length = 150)
	public String getRegion() {
		return this.region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	@Column(name = "country", length = 150)
	public String getCountry() {
		return this.country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	@Column(name = "city", length = 150)
	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@Column(name = "size", length = 150)
	public String getSize() {
		return this.size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	@Column(name = "currency", length = 50)
	public String getCurrency() {
		return this.currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "data_rdy_time", length = 0)
	public Date getDataRdyTime() {
		return this.dataRdyTime;
	}

	public void setDataRdyTime(Date dataRdyTime) {
		this.dataRdyTime = dataRdyTime;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "finish_time", length = 0)
	public Date getFinishTime() {
		return this.finishTime;
	}

	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}

	@Column(name = "type", length = 50)
	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Column(name = "rootid", length = 36)
	public String getRootid() {
		return this.rootid;
	}

	public void setRootid(String rootid) {
		this.rootid = rootid;
	}

	@Column(name = "cost", precision = 12, scale = 0)
	public Float getCost() {
		return this.cost;
	}

	public void setCost(Float cost) {
		this.cost = cost;
	}

	@Column(name = "cost_rmb", precision = 12, scale = 0)
	public Float getCostRmb() {
		return this.costRmb;
	}

	public void setCostRmb(Float costRmb) {
		this.costRmb = costRmb;
	}

	@Column(name = "requirements", length = 250)
	public String getRequirements() {
		return this.requirements;
	}

	public void setRequirements(String requirements) {
		this.requirements = requirements;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "signdate", length = 0)
	public Date getSigndate() {
		return this.signdate;
	}

	public void setSigndate(Date signdate) {
		this.signdate = signdate;
	}

	@Column(name = "connecterid", length = 36)
	public String getConnecterid() {
		return this.connecterid;
	}

	public void setConnecterid(String connecterid) {
		this.connecterid = connecterid;
	}

	@Column(name = "connectername", length = 100)
	public String getConnectername() {
		return this.connectername;
	}

	public void setConnectername(String connectername) {
		this.connectername = connectername;
	}

}